package cn.offer.domain;

import java.util.Date;

public class YixuePaotuiFabu {
    private Integer id;

    private Integer userid;
    //送货地址id
    private Integer bringaddressid;
    //取货地址
    private Integer takeaddressid;
    //距离
    private String bringlocation;

    private String takelocation;
    //学院id
    private Integer collegelocationid;
    //状态 1 未接单  2已接单 3 配送中  4 配送完成
    private Integer status;
    //货物类型
    private Integer goodstype;
    //货物重量
    private Integer goodsweight;
    //货品数量
    private Integer goodsnum;
    //默认携带
    private String goodsinfo;
    //期望时间
    private Date expecttime;
    //金额
    private Double account;
    //费用
    private Double fee;
    //评价(针对于跑腿人)
    private String remark;
    //添加时间
    private Date addtime;
    //送达时间
    private Date updatetime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getBringaddressid() {
        return bringaddressid;
    }

    public void setBringaddressid(Integer bringaddressid) {
        this.bringaddressid = bringaddressid;
    }

    public Integer getTakeaddressid() {
        return takeaddressid;
    }

    public void setTakeaddressid(Integer takeaddressid) {
        this.takeaddressid = takeaddressid;
    }

    public String getBringlocation() {
        return bringlocation;
    }

    public void setBringlocation(String bringlocation) {
        this.bringlocation = bringlocation == null ? null : bringlocation.trim();
    }

    public String getTakelocation() {
        return takelocation;
    }

    public void setTakelocation(String takelocation) {
        this.takelocation = takelocation == null ? null : takelocation.trim();
    }

    public Integer getCollegelocationid() {
        return collegelocationid;
    }

    public void setCollegelocationid(Integer collegelocationid) {
        this.collegelocationid = collegelocationid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getGoodstype() {
        return goodstype;
    }

    public void setGoodstype(Integer goodstype) {
        this.goodstype = goodstype;
    }

    public Integer getGoodsweight() {
        return goodsweight;
    }

    public void setGoodsweight(Integer goodsweight) {
        this.goodsweight = goodsweight;
    }

    public Integer getGoodsnum() {
        return goodsnum;
    }

    public void setGoodsnum(Integer goodsnum) {
        this.goodsnum = goodsnum;
    }

    public String getGoodsinfo() {
        return goodsinfo;
    }

    public void setGoodsinfo(String goodsinfo) {
        this.goodsinfo = goodsinfo == null ? null : goodsinfo.trim();
    }

    public Date getExpecttime() {
        return expecttime;
    }

    public void setExpecttime(Date expecttime) {
        this.expecttime = expecttime;
    }

    public Double getAccount() {
        return account;
    }

    public void setAccount(Double account) {
        this.account = account;
    }

    public Double getFee() {
        return fee;
    }

    public void setFee(Double fee) {
        this.fee = fee;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "YixuePaotuiFabu{" +
                "id=" + id +
                ", userid=" + userid +
                ", bringaddressid=" + bringaddressid +
                ", takeaddressid=" + takeaddressid +
                ", bringlocation='" + bringlocation + '\'' +
                ", takelocation='" + takelocation + '\'' +
                ", collegelocationid=" + collegelocationid +
                ", status=" + status +
                ", goodstype=" + goodstype +
                ", goodsweight=" + goodsweight +
                ", goodsnum=" + goodsnum +
                ", goodsinfo='" + goodsinfo + '\'' +
                ", expecttime=" + expecttime +
                ", account=" + account +
                ", fee=" + fee +
                ", remark='" + remark + '\'' +
                ", addtime=" + addtime +
                ", updatetime=" + updatetime +
                '}';
    }
}